<template>
  <h1>AAA</h1>
  <p>{{ number }}</p>
  <B />
</template>

<script lang="ts">
import B from "./B.vue";

export default {
  name: "AAA",
  components: {
    B,
  },
  // inject: ["num"],
  inject: {
    number: {
      from: "num",
    },
  },
};
</script>

<style scoped></style>
